package com.qingmeng.applyjob.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "微信openid")
    private String openid;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "性别(1.男;2.女)")
    private Integer gender;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "自我介绍")
    private String introduce;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "成功率")
    private Short successRate;

    @ApiModelProperty(value = "好评率")
    private Short favorableRate;

    @ApiModelProperty(value = "辅导次数")
    private Integer coachingNum;

    @ApiModelProperty(value = "内推次数")
    private Integer interpolatingNum;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新基本信息时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Short getSuccessRate() {
        return successRate;
    }

    public void setSuccessRate(Short successRate) {
        this.successRate = successRate;
    }

    public Short getFavorableRate() {
        return favorableRate;
    }

    public void setFavorableRate(Short favorableRate) {
        this.favorableRate = favorableRate;
    }

    public Integer getCoachingNum() {
        return coachingNum;
    }

    public void setCoachingNum(Integer coachingNum) {
        this.coachingNum = coachingNum;
    }

    public Integer getInterpolatingNum() {
        return interpolatingNum;
    }

    public void setInterpolatingNum(Integer interpolatingNum) {
        this.interpolatingNum = interpolatingNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", username=").append(username);
        sb.append(", openid=").append(openid);
        sb.append(", password=").append(password);
        sb.append(", gender=").append(gender);
        sb.append(", age=").append(age);
        sb.append(", phone=").append(phone);
        sb.append(", email=").append(email);
        sb.append(", introduce=").append(introduce);
        sb.append(", avatar=").append(avatar);
        sb.append(", successRate=").append(successRate);
        sb.append(", favorableRate=").append(favorableRate);
        sb.append(", coachingNum=").append(coachingNum);
        sb.append(", interpolatingNum=").append(interpolatingNum);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}